package com.mycloud.dictionary.service;

import com.mycloud.core.service.GenericService;

import java.io.IOException;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: dell
 * Date: 12/14/11
 * Time: 3:47 PM
 * To change this template use File | Settings | File Templates.
 */
public interface DictionaryService extends GenericService {
    String getFarsi123Translation(String word) throws Exception;

    void persist(String word, String translation);

    List<String> getAllWords();

    List<String> getAllWordsNotHavingAudioPath();

    String getDatabaseTranslation(String word);

    void downloadAudio(String audioPath) throws IOException;

    void setAudioPath(String word, String audioPath);
}
